#!/bin/bash

login_ip=`w |tail -n +2 |awk '{print $3}' |uniq |grep "^[0-9]"`
login_num=`w |tail -n +2 |awk '{print $3}' |uniq |grep "^[0-9]" | wc -l`
echo "the local system loginuser,toal ${login_num}"
echo -e "\t ${login_ip}"
